package net.mfjassociates.finance.domain.mfjfin_newdb;

import java.math.BigDecimal;
import java.sql.Clob;
import java.util.Date;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Lob;
import javax.persistence.OneToMany;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.roo.addon.dbre.RooDbManaged;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(entityName="net.mfjassociates.finance.domain.mfjfin_newdb.Employees", versionField = "", table = "Employees", schema = "dbo")
public class Employees {

	@OneToMany(mappedBy = "employeeId")
    private Set<ExpenseReports> expenseReportss;

	@Column(name = "DepartmentName", length = 50)
    private String departmentName;

	@Column(name = "SocialSecurityNumber", length = 30)
    private String socialSecurityNumber;

	@Column(name = "EmployeeNumber", length = 30)
    private String employeeNumber;

	@Column(name = "FirstName", length = 50)
    private String firstName;

	@Column(name = "LastName", length = 50)
    private String lastName;

	@Column(name = "Title", length = 50)
    private String title;

	@Column(name = "EmailName", length = 50)
    private String emailName;

	@Column(name = "Extension", length = 30)
    private String extension;

	@Column(name = "Address", length = 255)
    private String address;

	@Column(name = "City", length = 50)
    private String city;

	@Column(name = "StateOrProvince", length = 20)
    private String stateOrProvince;

	@Column(name = "Region", length = 50)
    private String region;

	@Column(name = "PostalCode", length = 20)
    private String postalCode;

	@Column(name = "Country_Region", length = 50)
    private String countryRegion;

	@Column(name = "HomePhone", length = 30)
    private String homePhone;

	@Column(name = "WorkPhone", length = 30)
    private String workPhone;

	@Column(name = "Birthdate")
    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(style = "M-")
    private Date birthdate;

	@Column(name = "DateHired")
    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(style = "M-")
    private Date dateHired;

	@Column(name = "Notes")
    @Lob
    private Clob notes;

	@Column(name = "BillingRate", precision = 19, scale = 4)
    private BigDecimal billingRate;

	public Set<ExpenseReports> getExpenseReportss() {
        return expenseReportss;
    }

	public void setExpenseReportss(Set<ExpenseReports> expenseReportss) {
        this.expenseReportss = expenseReportss;
    }

	public String getDepartmentName() {
        return departmentName;
    }

	public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

	public String getSocialSecurityNumber() {
        return socialSecurityNumber;
    }

	public void setSocialSecurityNumber(String socialSecurityNumber) {
        this.socialSecurityNumber = socialSecurityNumber;
    }

	public String getEmployeeNumber() {
        return employeeNumber;
    }

	public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

	public String getFirstName() {
        return firstName;
    }

	public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

	public String getLastName() {
        return lastName;
    }

	public void setLastName(String lastName) {
        this.lastName = lastName;
    }

	public String getTitle() {
        return title;
    }

	public void setTitle(String title) {
        this.title = title;
    }

	public String getEmailName() {
        return emailName;
    }

	public void setEmailName(String emailName) {
        this.emailName = emailName;
    }

	public String getExtension() {
        return extension;
    }

	public void setExtension(String extension) {
        this.extension = extension;
    }

	public String getAddress() {
        return address;
    }

	public void setAddress(String address) {
        this.address = address;
    }

	public String getCity() {
        return city;
    }

	public void setCity(String city) {
        this.city = city;
    }

	public String getStateOrProvince() {
        return stateOrProvince;
    }

	public void setStateOrProvince(String stateOrProvince) {
        this.stateOrProvince = stateOrProvince;
    }

	public String getRegion() {
        return region;
    }

	public void setRegion(String region) {
        this.region = region;
    }

	public String getPostalCode() {
        return postalCode;
    }

	public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

	public String getCountryRegion() {
        return countryRegion;
    }

	public void setCountryRegion(String countryRegion) {
        this.countryRegion = countryRegion;
    }

	public String getHomePhone() {
        return homePhone;
    }

	public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }

	public String getWorkPhone() {
        return workPhone;
    }

	public void setWorkPhone(String workPhone) {
        this.workPhone = workPhone;
    }

	public Date getBirthdate() {
        return birthdate;
    }

	public void setBirthdate(Date birthdate) {
        this.birthdate = birthdate;
    }

	public Date getDateHired() {
        return dateHired;
    }

	public void setDateHired(Date dateHired) {
        this.dateHired = dateHired;
    }

	public Clob getNotes() {
        return notes;
    }

	public void setNotes(Clob notes) {
        this.notes = notes;
    }

	public BigDecimal getBillingRate() {
        return billingRate;
    }

	public void setBillingRate(BigDecimal billingRate) {
        this.billingRate = billingRate;
    }
}
